package com.lht.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 资产信息中的车辆信息实体
 *
 * @author ZhengZhanWu
 * @date 2019-12-29 20:19:33
 */
@Data
@NoArgsConstructor
@TableName("lst_assets_car_info")
public class AssetsCarInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

            /**
         * 主键id
         */
        @TableId
        private Long id;
                /**
         * 创建时间
         */
        private Date createAt;
                /**
         * 更新时间
         */
        private Date updateAt;
                /**
         * 是否删除   0:未删除(默认)   1:删除
         */
        private String isDelete;
                /**
         * 申请编号
         */
        private String applyNo;
                /**
         * 推销员用户id
         */
        private Long promoUserId;
                /**
         * 车品牌id
         */
        private Long carBrandId;
                /**
         * 购买车日期
         */
        private Date carBuyAt;
                /**
         * 购车总金额
         */
        private BigDecimal carBuyTotalAmount;
                /**
         * 购车方式    0:一次性    1:按揭
         */
        private String carBuyType;
                /**
         * 保险公司
         */
        private String insuranceCompany;
                /**
         * 保险缴费方式    0:月缴    1:年缴
         */
        private String insurancePayWay;
                /**
         * 保险缴纳金额
         */
        private BigDecimal insurancePayAmount;

            public static final String ID = "id";
            public static final String CREATE_AT = "create_at";
            public static final String UPDATE_AT = "update_at";
            public static final String APPLY_NO = "apply_no";
            public static final String PROMO_USER_ID = "promo_user_id";
            public static final String CAR_BRAND_ID = "car_brand_id";
            public static final String CAR_BUY_AT = "car_buy_at";
            public static final String CAR_BUY_TOTAL_AMOUNT = "car_buy_total_amount";
            public static final String CAR_BUY_TYPE = "car_buy_type";
            public static final String INSURANCE_COMPANY = "insurance_company";
            public static final String INSURANCE_PAY_WAY = "insurance_pay_way";
            public static final String INSURANCE_PAY_AMOUT = "insurance_pay_amout";
    }
